const server = require('@mctech/infra-cloud').appServer()
const mountResources = require('./mount-resources')
const loggerResponse = require('./lib/logger-response')

const startPromise = server
  .use(loggerResponse)
  .use(mountResources)
  .start()

module.exports = startPromise
